"use strict";
var __assign = (this && this.__assign) || function () {
    __assign = Object.assign || function(t) {
        for (var s, i = 1, n = arguments.length; i < n; i++) {
            s = arguments[i];
            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
                t[p] = s[p];
        }
        return t;
    };
    return __assign.apply(this, arguments);
};
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
    if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
        if (ar || !(i in from)) {
            if (!ar) ar = Array.prototype.slice.call(from, 0, i);
            ar[i] = from[i];
        }
    }
    return to.concat(ar || Array.prototype.slice.call(from));
};
Object.defineProperty(exports, "__esModule", { value: true });
var vue_1 = require("vue");
var element_plus_1 = require("element-plus");
var icons_vue_1 = require("@element-plus/icons-vue");
// 品牌基础信息
var brandInfo = (0, vue_1.ref)({
    name: '',
    code: '',
    logo: '',
    status: 'active' // active/inactive
});
// LOGO上传状态
var logoFileName = (0, vue_1.ref)('');
// 活跃的类别
var activeCategory = (0, vue_1.ref)('single');
// 自定义类别列表
var customCategories = (0, vue_1.ref)([]);
// 弹窗状态
var showAddCategoryDialog = (0, vue_1.ref)(false);
var newCategoryName = (0, vue_1.ref)('');
// SKU数据结构 - 按类别存储
var skuData = (0, vue_1.ref)({
    single: [],
    set: [],
    other: []
});
// 当前选中类别的SKU列表
var currentSkuList = (0, vue_1.computed)(function () {
    // 如果当前类别不存在，初始化一个空数组
    if (!skuData.value[activeCategory.value]) {
        skuData.value[activeCategory.value] = [];
    }
    return skuData.value[activeCategory.value];
});
// 当前类别显示文本
var currentCategoryText = (0, vue_1.computed)(function () {
    var map = {
        'single': '单品',
        'set': '套盒',
        'other': '其他'
    };
    // 检查是否为自定义类别
    if (customCategories.value.includes(activeCategory.value)) {
        return activeCategory.value;
    }
    return map[activeCategory.value] || '自定义';
});
// 品牌表格数据
var brandTableData = (0, vue_1.ref)([
    {
        id: 1,
        name: '雅诗兰黛',
        logo: 'https://picsum.photos/40/40?random=1',
        singleDiscount: '1.0',
        setDiscount: '0.9',
        otherDiscount: '1.0'
    },
    {
        id: 2,
        name: '兰蔻',
        logo: 'https://picsum.photos/40/40?random=2',
        singleDiscount: '0.95',
        setDiscount: '0.85',
        otherDiscount: '1.0'
    },
    {
        id: 3,
        name: 'SK-II',
        logo: '',
        singleDiscount: '1.0',
        setDiscount: '1.0',
        otherDiscount: '0.9'
    }
]);
// 表格头部样式
var tableHeaderStyle = {
    'background-color': '#f5f7fa',
    'font-weight': '500',
    'color': '#4e5969'
};
// 处理LOGO上传
var handleLogoUpload = function (file) {
    logoFileName.value = file.name;
    // 实际项目中这里会处理文件上传并获取URL
    brandInfo.value.logo = URL.createObjectURL(file.raw);
};
// 清除LOGO
var clearLogo = function () {
    logoFileName.value = '';
    brandInfo.value.logo = '';
};
// 切换类别
var handleCategoryChange = function (category) {
    activeCategory.value = category;
};
// 添加自定义类别
var addCustomCategory = function () {
    if (!newCategoryName.value.trim()) {
        element_plus_1.ElMessage.warning('请输入类别名称');
        return;
    }
    var categoryKey = newCategoryName.value.trim();
    // 检查是否与默认类别冲突
    var defaultCategories = ['single', 'set', 'other'];
    if (defaultCategories.includes(categoryKey)) {
        element_plus_1.ElMessage.warning('该类别名称已被系统占用');
        return;
    }
    if (customCategories.value.includes(categoryKey)) {
        element_plus_1.ElMessage.warning('该类别已存在');
        return;
    }
    // 添加到自定义类别列表
    customCategories.value.push(categoryKey);
    // 初始化该类别的SKU数组
    skuData.value[categoryKey] = [];
    // 切换到新类别
    activeCategory.value = categoryKey;
    // 重置输入并关闭弹窗
    newCategoryName.value = '';
    showAddCategoryDialog.value = false;
    element_plus_1.ElMessage.success("\u5DF2\u6DFB\u52A0\u81EA\u5B9A\u4E49\u7C7B\u522B\uFF1A".concat(categoryKey));
};
// 删除自定义类别
var deleteCustomCategory = function (category) {
    // 如果删除的是当前活跃类别，切换到默认类别
    if (activeCategory.value === category) {
        activeCategory.value = 'single';
    }
    element_plus_1.ElMessageBox.confirm("\u786E\u5B9A\u8981\u5220\u9664\u7C7B\u522B\u3010".concat(category, "\u3011\u5417\uFF1F\u76F8\u5173SKU\u6570\u636E\u4E5F\u4F1A\u88AB\u5220\u9664"), '删除确认', {
        confirmButtonText: '确认',
        cancelButtonText: '取消',
        type: 'warning'
    }).then(function () {
        // 从类别列表中移除
        customCategories.value = customCategories.value.filter(function (item) { return item !== category; });
        // 删除相关SKU数据
        delete skuData.value[category];
        element_plus_1.ElMessage.success("\u7C7B\u522B\u3010".concat(category, "\u3011\u5DF2\u5220\u9664"));
    });
};
// 添加SKU档位
var addSkuItem = function () {
    var newItem = {
        name: "\u6863\u4F4D".concat(currentSkuList.value.length + 1),
        discount: '1.0',
        stock: '100'
    };
    currentSkuList.value.push(newItem);
};
// 删除SKU档位
var deleteSkuItem = function (index) {
    element_plus_1.ElMessageBox.confirm("\u786E\u5B9A\u8981\u5220\u9664\u3010".concat(currentSkuList.value[index].name, "\u3011\u5417\uFF1F"), '删除确认', {
        confirmButtonText: '确认',
        cancelButtonText: '取消',
        type: 'warning'
    }).then(function () {
        currentSkuList.value.splice(index, 1);
        // 重新编号
        currentSkuList.value.forEach(function (item, i) {
            item.name = "\u6863\u4F4D".concat(i + 1);
        });
        element_plus_1.ElMessage.success('删除成功');
    }).catch(function () {
        // 取消删除
    });
};
// 格式化折扣显示
var formatDiscount = function (discount) {
    return discount ? "".concat(Number(discount) * 10, "\u6298") : '-';
};
// 一键绑定
var handleBind = function () {
    element_plus_1.ElMessage.info('正在执行一键绑定...');
    // 实际项目中添加绑定逻辑
};
// 编辑品牌
var editBrand = function (row) {
    brandInfo.value.name = row.name;
    brandInfo.value.logo = row.logo;
    brandInfo.value.code = "BR-".concat(row.id);
    element_plus_1.ElMessage.info("\u6B63\u5728\u7F16\u8F91\u54C1\u724C\uFF1A".concat(row.name));
};
// 删除品牌
var deleteBrand = function (id) {
    element_plus_1.ElMessageBox.confirm('确定要删除该品牌吗？', '删除确认', {
        confirmButtonText: '确认',
        cancelButtonText: '取消',
        type: 'danger'
    }).then(function () {
        brandTableData.value = brandTableData.value.filter(function (item) { return item.id !== id; });
        element_plus_1.ElMessage.success('品牌已删除');
    });
};
// 保存品牌信息
var saveBrandInfo = function () {
    if (!brandInfo.value.name) {
        element_plus_1.ElMessage.warning('请输入品牌名称');
        return;
    }
    element_plus_1.ElMessage.success('品牌信息保存成功');
    // 实际项目中添加保存逻辑
};
var emit = defineEmits(['next']);
// 继续操作
var handleContinue = function () {
    element_plus_1.ElMessage.info('继续下一步操作');
    // 实际项目中添加路由跳转逻辑
    emit('next');
};
debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
var __VLS_ctx = __assign(__assign(__assign(__assign(__assign({}, {}), {}), {}), {}), {});
var __VLS_elements;
var __VLS_components;
var __VLS_directives;
/** @type {__VLS_StyleScopedClasses['bind-btn']} */ ;
/** @type {__VLS_StyleScopedClasses['clear-upload']} */ ;
/** @type {__VLS_StyleScopedClasses['section-title']} */ ;
/** @type {__VLS_StyleScopedClasses['el-radio-button__inner']} */ ;
/** @type {__VLS_StyleScopedClasses['el-radio-button']} */ ;
/** @type {__VLS_StyleScopedClasses['el-radio-button__inner']} */ ;
/** @type {__VLS_StyleScopedClasses['custom-category']} */ ;
/** @type {__VLS_StyleScopedClasses['el-radio-button__inner']} */ ;
/** @type {__VLS_StyleScopedClasses['delete-category']} */ ;
/** @type {__VLS_StyleScopedClasses['add-sku-btn']} */ ;
/** @type {__VLS_StyleScopedClasses['sku-item']} */ ;
/** @type {__VLS_StyleScopedClasses['delete-sku-btn']} */ ;
/** @type {__VLS_StyleScopedClasses['main-btn']} */ ;
/** @type {__VLS_StyleScopedClasses['form-grid']} */ ;
/** @type {__VLS_StyleScopedClasses['category-header']} */ ;
/** @type {__VLS_StyleScopedClasses['category-tabs-container']} */ ;
/** @type {__VLS_StyleScopedClasses['form-control']} */ ;
/** @type {__VLS_StyleScopedClasses['sku-fields']} */ ;
/** @type {__VLS_StyleScopedClasses['action-buttons']} */ ;
/** @type {__VLS_StyleScopedClasses['main-btn']} */ ;
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "brand-management-page" }));
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "page-header" }));
__VLS_asFunctionalElement(__VLS_elements.h2, __VLS_elements.h2)(__assign({ class: "page-title" }));
var __VLS_0 = {}.ElButton;
/** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
// @ts-ignore
ElButton;
// @ts-ignore
var __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0(__assign(__assign({ 'onClick': {} }, { type: "success", icon: "Link" }), { class: "bind-btn" })));
var __VLS_2 = __VLS_1.apply(void 0, __spreadArray([__assign(__assign({ 'onClick': {} }, { type: "success", icon: "Link" }), { class: "bind-btn" })], __VLS_functionalComponentArgsRest(__VLS_1), false));
var __VLS_4;
var __VLS_5;
var __VLS_6 = ({ click: {} },
    { onClick: (__VLS_ctx.handleBind) });
var __VLS_7 = __VLS_3.slots.default;
// @ts-ignore
[handleBind,];
var __VLS_3;
var __VLS_8 = {}.ElCard;
/** @type {[typeof __VLS_components.ElCard, typeof __VLS_components.elCard, typeof __VLS_components.ElCard, typeof __VLS_components.elCard, ]} */ ;
// @ts-ignore
ElCard;
// @ts-ignore
var __VLS_9 = __VLS_asFunctionalComponent(__VLS_8, new __VLS_8(__assign({ class: "basic-info-card" })));
var __VLS_10 = __VLS_9.apply(void 0, __spreadArray([__assign({ class: "basic-info-card" })], __VLS_functionalComponentArgsRest(__VLS_9), false));
var __VLS_12 = __VLS_11.slots.default;
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "form-grid" }));
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "form-group" }));
__VLS_asFunctionalElement(__VLS_elements.label, __VLS_elements.label)(__assign({ class: "form-label required" }));
var __VLS_13 = {}.ElInput;
/** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
// @ts-ignore
ElInput;
// @ts-ignore
var __VLS_14 = __VLS_asFunctionalComponent(__VLS_13, new __VLS_13(__assign({ modelValue: (__VLS_ctx.brandInfo.name), placeholder: "请输入品牌名称" }, { class: "form-control" })));
var __VLS_15 = __VLS_14.apply(void 0, __spreadArray([__assign({ modelValue: (__VLS_ctx.brandInfo.name), placeholder: "请输入品牌名称" }, { class: "form-control" })], __VLS_functionalComponentArgsRest(__VLS_14), false));
// @ts-ignore
[brandInfo,];
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "form-group" }));
__VLS_asFunctionalElement(__VLS_elements.label, __VLS_elements.label)(__assign({ class: "form-label required" }));
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "upload-container" }));
var __VLS_18 = {}.ElUpload;
/** @type {[typeof __VLS_components.ElUpload, typeof __VLS_components.elUpload, typeof __VLS_components.ElUpload, typeof __VLS_components.elUpload, ]} */ ;
// @ts-ignore
ElUpload;
// @ts-ignore
var __VLS_19 = __VLS_asFunctionalComponent(__VLS_18, new __VLS_18(__assign({ class: "logo-upload" }, { action: "#", autoUpload: (false), showFileList: (false), onChange: (__VLS_ctx.handleLogoUpload) })));
var __VLS_20 = __VLS_19.apply(void 0, __spreadArray([__assign({ class: "logo-upload" }, { action: "#", autoUpload: (false), showFileList: (false), onChange: (__VLS_ctx.handleLogoUpload) })], __VLS_functionalComponentArgsRest(__VLS_19), false));
var __VLS_22 = __VLS_21.slots.default;
// @ts-ignore
[handleLogoUpload,];
var __VLS_23 = {}.ElButton;
/** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
// @ts-ignore
ElButton;
// @ts-ignore
var __VLS_24 = __VLS_asFunctionalComponent(__VLS_23, new __VLS_23({
    size: "small",
    type: "default",
}));
var __VLS_25 = __VLS_24.apply(void 0, __spreadArray([{
        size: "small",
        type: "default",
    }], __VLS_functionalComponentArgsRest(__VLS_24), false));
var __VLS_27 = __VLS_26.slots.default;
var __VLS_26;
var __VLS_21;
__VLS_asFunctionalElement(__VLS_elements.span, __VLS_elements.span)(__assign({ class: "upload-status" }));
(__VLS_ctx.logoFileName || '未选择文件');
// @ts-ignore
[logoFileName,];
if (__VLS_ctx.logoFileName) {
    // @ts-ignore
    [logoFileName,];
    var __VLS_28 = {}.ElIcon;
    /** @type {[typeof __VLS_components.ElIcon, typeof __VLS_components.elIcon, typeof __VLS_components.ElIcon, typeof __VLS_components.elIcon, ]} */ ;
    // @ts-ignore
    ElIcon;
    // @ts-ignore
    var __VLS_29 = __VLS_asFunctionalComponent(__VLS_28, new __VLS_28(__assign({ 'onClick': {} }, { class: "clear-upload" })));
    var __VLS_30 = __VLS_29.apply(void 0, __spreadArray([__assign({ 'onClick': {} }, { class: "clear-upload" })], __VLS_functionalComponentArgsRest(__VLS_29), false));
    var __VLS_32 = void 0;
    var __VLS_33 = void 0;
    var __VLS_34 = ({ click: {} },
        { onClick: (__VLS_ctx.clearLogo) });
    var __VLS_35 = __VLS_31.slots.default;
    // @ts-ignore
    [clearLogo,];
    var __VLS_36 = {}.Delete;
    /** @type {[typeof __VLS_components.Delete, ]} */ ;
    // @ts-ignore
    icons_vue_1.Delete;
    // @ts-ignore
    var __VLS_37 = __VLS_asFunctionalComponent(__VLS_36, new __VLS_36({}));
    var __VLS_38 = __VLS_37.apply(void 0, __spreadArray([{}], __VLS_functionalComponentArgsRest(__VLS_37), false));
    var __VLS_31;
}
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "form-group" }));
__VLS_asFunctionalElement(__VLS_elements.label, __VLS_elements.label)(__assign({ class: "form-label" }));
var __VLS_41 = {}.ElInput;
/** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
// @ts-ignore
ElInput;
// @ts-ignore
var __VLS_42 = __VLS_asFunctionalComponent(__VLS_41, new __VLS_41(__assign({ modelValue: (__VLS_ctx.brandInfo.code), placeholder: "自动生成", readonly: true }, { class: "form-control" })));
var __VLS_43 = __VLS_42.apply(void 0, __spreadArray([__assign({ modelValue: (__VLS_ctx.brandInfo.code), placeholder: "自动生成", readonly: true }, { class: "form-control" })], __VLS_functionalComponentArgsRest(__VLS_42), false));
// @ts-ignore
[brandInfo,];
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "form-group" }));
__VLS_asFunctionalElement(__VLS_elements.label, __VLS_elements.label)(__assign({ class: "form-label required" }));
var __VLS_46 = {}.ElRadioGroup;
/** @type {[typeof __VLS_components.ElRadioGroup, typeof __VLS_components.elRadioGroup, typeof __VLS_components.ElRadioGroup, typeof __VLS_components.elRadioGroup, ]} */ ;
// @ts-ignore
ElRadioGroup;
// @ts-ignore
var __VLS_47 = __VLS_asFunctionalComponent(__VLS_46, new __VLS_46(__assign({ modelValue: (__VLS_ctx.brandInfo.status) }, { class: "status-radio" })));
var __VLS_48 = __VLS_47.apply(void 0, __spreadArray([__assign({ modelValue: (__VLS_ctx.brandInfo.status) }, { class: "status-radio" })], __VLS_functionalComponentArgsRest(__VLS_47), false));
var __VLS_50 = __VLS_49.slots.default;
// @ts-ignore
[brandInfo,];
var __VLS_51 = {}.ElRadio;
/** @type {[typeof __VLS_components.ElRadio, typeof __VLS_components.elRadio, typeof __VLS_components.ElRadio, typeof __VLS_components.elRadio, ]} */ ;
// @ts-ignore
ElRadio;
// @ts-ignore
var __VLS_52 = __VLS_asFunctionalComponent(__VLS_51, new __VLS_51({
    label: "active",
}));
var __VLS_53 = __VLS_52.apply(void 0, __spreadArray([{
        label: "active",
    }], __VLS_functionalComponentArgsRest(__VLS_52), false));
var __VLS_55 = __VLS_54.slots.default;
var __VLS_54;
var __VLS_56 = {}.ElRadio;
/** @type {[typeof __VLS_components.ElRadio, typeof __VLS_components.elRadio, typeof __VLS_components.ElRadio, typeof __VLS_components.elRadio, ]} */ ;
// @ts-ignore
ElRadio;
// @ts-ignore
var __VLS_57 = __VLS_asFunctionalComponent(__VLS_56, new __VLS_56({
    label: "inactive",
}));
var __VLS_58 = __VLS_57.apply(void 0, __spreadArray([{
        label: "inactive",
    }], __VLS_functionalComponentArgsRest(__VLS_57), false));
var __VLS_60 = __VLS_59.slots.default;
var __VLS_59;
var __VLS_49;
var __VLS_11;
var __VLS_61 = {}.ElCard;
/** @type {[typeof __VLS_components.ElCard, typeof __VLS_components.elCard, typeof __VLS_components.ElCard, typeof __VLS_components.elCard, ]} */ ;
// @ts-ignore
ElCard;
// @ts-ignore
var __VLS_62 = __VLS_asFunctionalComponent(__VLS_61, new __VLS_61(__assign({ class: "category-sku-card" })));
var __VLS_63 = __VLS_62.apply(void 0, __spreadArray([__assign({ class: "category-sku-card" })], __VLS_functionalComponentArgsRest(__VLS_62), false));
var __VLS_65 = __VLS_64.slots.default;
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "category-header" }));
__VLS_asFunctionalElement(__VLS_elements.h3, __VLS_elements.h3)(__assign({ class: "section-title" }));
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "category-tabs-container" }));
var __VLS_66 = {}.ElRadioGroup;
/** @type {[typeof __VLS_components.ElRadioGroup, typeof __VLS_components.elRadioGroup, typeof __VLS_components.ElRadioGroup, typeof __VLS_components.elRadioGroup, ]} */ ;
// @ts-ignore
ElRadioGroup;
// @ts-ignore
var __VLS_67 = __VLS_asFunctionalComponent(__VLS_66, new __VLS_66(__assign(__assign({ 'onChange': {} }, { modelValue: (__VLS_ctx.activeCategory) }), { class: "category-tabs" })));
var __VLS_68 = __VLS_67.apply(void 0, __spreadArray([__assign(__assign({ 'onChange': {} }, { modelValue: (__VLS_ctx.activeCategory) }), { class: "category-tabs" })], __VLS_functionalComponentArgsRest(__VLS_67), false));
var __VLS_70;
var __VLS_71;
var __VLS_72 = ({ change: {} },
    { onChange: (__VLS_ctx.handleCategoryChange) });
var __VLS_73 = __VLS_69.slots.default;
// @ts-ignore
[activeCategory, handleCategoryChange,];
var __VLS_74 = {}.ElRadioButton;
/** @type {[typeof __VLS_components.ElRadioButton, typeof __VLS_components.elRadioButton, typeof __VLS_components.ElRadioButton, typeof __VLS_components.elRadioButton, ]} */ ;
// @ts-ignore
ElRadioButton;
// @ts-ignore
var __VLS_75 = __VLS_asFunctionalComponent(__VLS_74, new __VLS_74({
    label: "single",
}));
var __VLS_76 = __VLS_75.apply(void 0, __spreadArray([{
        label: "single",
    }], __VLS_functionalComponentArgsRest(__VLS_75), false));
var __VLS_78 = __VLS_77.slots.default;
var __VLS_77;
var __VLS_79 = {}.ElRadioButton;
/** @type {[typeof __VLS_components.ElRadioButton, typeof __VLS_components.elRadioButton, typeof __VLS_components.ElRadioButton, typeof __VLS_components.elRadioButton, ]} */ ;
// @ts-ignore
ElRadioButton;
// @ts-ignore
var __VLS_80 = __VLS_asFunctionalComponent(__VLS_79, new __VLS_79({
    label: "set",
}));
var __VLS_81 = __VLS_80.apply(void 0, __spreadArray([{
        label: "set",
    }], __VLS_functionalComponentArgsRest(__VLS_80), false));
var __VLS_83 = __VLS_82.slots.default;
var __VLS_82;
var __VLS_84 = {}.ElRadioButton;
/** @type {[typeof __VLS_components.ElRadioButton, typeof __VLS_components.elRadioButton, typeof __VLS_components.ElRadioButton, typeof __VLS_components.elRadioButton, ]} */ ;
// @ts-ignore
ElRadioButton;
// @ts-ignore
var __VLS_85 = __VLS_asFunctionalComponent(__VLS_84, new __VLS_84({
    label: "other",
}));
var __VLS_86 = __VLS_85.apply(void 0, __spreadArray([{
        label: "other",
    }], __VLS_functionalComponentArgsRest(__VLS_85), false));
var __VLS_88 = __VLS_87.slots.default;
var __VLS_87;
var _loop_1 = function (category) {
    // @ts-ignore
    [customCategories,];
    var __VLS_89 = {}.ElRadioButton;
    /** @type {[typeof __VLS_components.ElRadioButton, typeof __VLS_components.elRadioButton, typeof __VLS_components.ElRadioButton, typeof __VLS_components.elRadioButton, ]} */ ;
    // @ts-ignore
    ElRadioButton;
    // @ts-ignore
    var __VLS_90 = __VLS_asFunctionalComponent(__VLS_89, new __VLS_89(__assign({ label: (category) }, { class: "custom-category" })));
    var __VLS_91 = __VLS_90.apply(void 0, __spreadArray([__assign({ label: (category) }, { class: "custom-category" })], __VLS_functionalComponentArgsRest(__VLS_90), false));
    var __VLS_93 = __VLS_92.slots.default;
    __VLS_asFunctionalElement(__VLS_elements.span, __VLS_elements.span)({});
    (category);
    var __VLS_94 = {}.ElIcon;
    /** @type {[typeof __VLS_components.ElIcon, typeof __VLS_components.elIcon, typeof __VLS_components.ElIcon, typeof __VLS_components.elIcon, ]} */ ;
    // @ts-ignore
    ElIcon;
    // @ts-ignore
    var __VLS_95 = __VLS_asFunctionalComponent(__VLS_94, new __VLS_94(__assign({ 'onClick': {} }, { class: "delete-category" })));
    var __VLS_96 = __VLS_95.apply(void 0, __spreadArray([__assign({ 'onClick': {} }, { class: "delete-category" })], __VLS_functionalComponentArgsRest(__VLS_95), false));
    var __VLS_98 = void 0;
    var __VLS_99 = void 0;
    var __VLS_100 = ({ click: {} },
        { onClick: function () {
                var _a = [];
                for (var _i = 0; _i < arguments.length; _i++) {
                    _a[_i] = arguments[_i];
                }
                var $event = _a[0];
                __VLS_ctx.deleteCustomCategory(category);
                // @ts-ignore
                [deleteCustomCategory,];
            } });
    var __VLS_101 = __VLS_97.slots.default;
    var __VLS_102 = {}.Delete;
    /** @type {[typeof __VLS_components.Delete, ]} */ ;
    // @ts-ignore
    icons_vue_1.Delete;
    // @ts-ignore
    var __VLS_103 = __VLS_asFunctionalComponent(__VLS_102, new __VLS_102({}));
    var __VLS_104 = __VLS_103.apply(void 0, __spreadArray([{}], __VLS_functionalComponentArgsRest(__VLS_103), false));
};
var __VLS_97, __VLS_92;
for (var _i = 0, _a = __VLS_getVForSourceType((__VLS_ctx.customCategories)); _i < _a.length; _i++) {
    var category = _a[_i][0];
    _loop_1(category);
}
var __VLS_69;
var __VLS_107 = {}.ElButton;
/** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
// @ts-ignore
ElButton;
// @ts-ignore
var __VLS_108 = __VLS_asFunctionalComponent(__VLS_107, new __VLS_107(__assign(__assign({ 'onClick': {} }, { type: "primary", size: "small", icon: "Plus" }), { class: "add-category-btn" })));
var __VLS_109 = __VLS_108.apply(void 0, __spreadArray([__assign(__assign({ 'onClick': {} }, { type: "primary", size: "small", icon: "Plus" }), { class: "add-category-btn" })], __VLS_functionalComponentArgsRest(__VLS_108), false));
var __VLS_111;
var __VLS_112;
var __VLS_113 = ({ click: {} },
    { onClick: function () {
            var _a = [];
            for (var _i = 0; _i < arguments.length; _i++) {
                _a[_i] = arguments[_i];
            }
            var $event = _a[0];
            __VLS_ctx.showAddCategoryDialog = true;
            // @ts-ignore
            [showAddCategoryDialog,];
        } });
var __VLS_114 = __VLS_110.slots.default;
var __VLS_110;
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "sku-section" }));
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "sku-header" }));
__VLS_asFunctionalElement(__VLS_elements.h4, __VLS_elements.h4)(__assign({ class: "sku-title" }));
(__VLS_ctx.currentCategoryText);
// @ts-ignore
[currentCategoryText,];
var __VLS_115 = {}.ElButton;
/** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
// @ts-ignore
ElButton;
// @ts-ignore
var __VLS_116 = __VLS_asFunctionalComponent(__VLS_115, new __VLS_115(__assign(__assign({ 'onClick': {} }, { type: "success", size: "small", icon: "Plus" }), { class: "add-sku-btn" })));
var __VLS_117 = __VLS_116.apply(void 0, __spreadArray([__assign(__assign({ 'onClick': {} }, { type: "success", size: "small", icon: "Plus" }), { class: "add-sku-btn" })], __VLS_functionalComponentArgsRest(__VLS_116), false));
var __VLS_119;
var __VLS_120;
var __VLS_121 = ({ click: {} },
    { onClick: (__VLS_ctx.addSkuItem) });
var __VLS_122 = __VLS_118.slots.default;
// @ts-ignore
[addSkuItem,];
var __VLS_118;
if (__VLS_ctx.currentSkuList.length > 0) {
    // @ts-ignore
    [currentSkuList,];
    __VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "sku-list" }));
    var _loop_2 = function (item, index) {
        // @ts-ignore
        [currentSkuList,];
        __VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "sku-item" }, { key: (index) }));
        __VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "sku-fields" }));
        var __VLS_123 = {}.ElInput;
        /** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
        // @ts-ignore
        ElInput;
        // @ts-ignore
        var __VLS_124 = __VLS_asFunctionalComponent(__VLS_123, new __VLS_123(__assign({ modelValue: (item.name), placeholder: "请输入档位名称" }, { class: "sku-input name-input" })));
        var __VLS_125 = __VLS_124.apply(void 0, __spreadArray([__assign({ modelValue: (item.name), placeholder: "请输入档位名称" }, { class: "sku-input name-input" })], __VLS_functionalComponentArgsRest(__VLS_124), false));
        var __VLS_128 = {}.ElInput;
        /** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
        // @ts-ignore
        ElInput;
        // @ts-ignore
        var __VLS_129 = __VLS_asFunctionalComponent(__VLS_128, new __VLS_128(__assign(__assign({ modelValue: (item.discount), placeholder: "请输入折扣" }, { class: "sku-input discount-input" }), { type: "number", min: "0.1", max: "9.9", step: "0.1" })));
        var __VLS_130 = __VLS_129.apply(void 0, __spreadArray([__assign(__assign({ modelValue: (item.discount), placeholder: "请输入折扣" }, { class: "sku-input discount-input" }), { type: "number", min: "0.1", max: "9.9", step: "0.1" })], __VLS_functionalComponentArgsRest(__VLS_129), false));
        var __VLS_133 = {}.ElInput;
        /** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
        // @ts-ignore
        ElInput;
        // @ts-ignore
        var __VLS_134 = __VLS_asFunctionalComponent(__VLS_133, new __VLS_133(__assign(__assign({ modelValue: (item.stock), placeholder: "库存阈值" }, { class: "sku-input stock-input" }), { type: "number", min: "0" })));
        var __VLS_135 = __VLS_134.apply(void 0, __spreadArray([__assign(__assign({ modelValue: (item.stock), placeholder: "库存阈值" }, { class: "sku-input stock-input" }), { type: "number", min: "0" })], __VLS_functionalComponentArgsRest(__VLS_134), false));
        var __VLS_138 = {}.ElButton;
        /** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
        // @ts-ignore
        ElButton;
        // @ts-ignore
        var __VLS_139 = __VLS_asFunctionalComponent(__VLS_138, new __VLS_138(__assign(__assign({ 'onClick': {} }, { type: "danger", size: "small", icon: "Delete" }), { class: "delete-sku-btn" })));
        var __VLS_140 = __VLS_139.apply(void 0, __spreadArray([__assign(__assign({ 'onClick': {} }, { type: "danger", size: "small", icon: "Delete" }), { class: "delete-sku-btn" })], __VLS_functionalComponentArgsRest(__VLS_139), false));
        var __VLS_142 = void 0;
        var __VLS_143 = void 0;
        var __VLS_144 = ({ click: {} },
            { onClick: function () {
                    var _a = [];
                    for (var _i = 0; _i < arguments.length; _i++) {
                        _a[_i] = arguments[_i];
                    }
                    var $event = _a[0];
                    if (!(__VLS_ctx.currentSkuList.length > 0))
                        return;
                    __VLS_ctx.deleteSkuItem(index);
                    // @ts-ignore
                    [deleteSkuItem,];
                } });
    };
    var __VLS_141;
    for (var _b = 0, _c = __VLS_getVForSourceType((__VLS_ctx.currentSkuList)); _b < _c.length; _b++) {
        var _d = _c[_b], item = _d[0], index = _d[1];
        _loop_2(item, index);
    }
}
else {
    __VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "sku-empty" }));
    var __VLS_146 = {}.ElEmpty;
    /** @type {[typeof __VLS_components.ElEmpty, typeof __VLS_components.elEmpty, ]} */ ;
    // @ts-ignore
    element_plus_1.ElEmpty;
    // @ts-ignore
    var __VLS_147 = __VLS_asFunctionalComponent(__VLS_146, new __VLS_146({
        description: "暂无档位数据，点击添加按钮创建",
        imageSize: (80),
    }));
    var __VLS_148 = __VLS_147.apply(void 0, __spreadArray([{
            description: "暂无档位数据，点击添加按钮创建",
            imageSize: (80),
        }], __VLS_functionalComponentArgsRest(__VLS_147), false));
}
var __VLS_64;
var __VLS_151 = {}.ElCard;
/** @type {[typeof __VLS_components.ElCard, typeof __VLS_components.elCard, typeof __VLS_components.ElCard, typeof __VLS_components.elCard, ]} */ ;
// @ts-ignore
ElCard;
// @ts-ignore
var __VLS_152 = __VLS_asFunctionalComponent(__VLS_151, new __VLS_151(__assign({ class: "brand-table-card" })));
var __VLS_153 = __VLS_152.apply(void 0, __spreadArray([__assign({ class: "brand-table-card" })], __VLS_functionalComponentArgsRest(__VLS_152), false));
var __VLS_155 = __VLS_154.slots.default;
__VLS_asFunctionalElement(__VLS_elements.h3, __VLS_elements.h3)(__assign({ class: "section-title" }));
var __VLS_156 = {}.ElTable;
/** @type {[typeof __VLS_components.ElTable, typeof __VLS_components.elTable, typeof __VLS_components.ElTable, typeof __VLS_components.elTable, ]} */ ;
// @ts-ignore
ElTable;
// @ts-ignore
var __VLS_157 = __VLS_asFunctionalComponent(__VLS_156, new __VLS_156(__assign({ data: (__VLS_ctx.brandTableData), border: true, stripe: true, headerCellStyle: (__VLS_ctx.tableHeaderStyle) }, { class: "brand-table" })));
var __VLS_158 = __VLS_157.apply(void 0, __spreadArray([__assign({ data: (__VLS_ctx.brandTableData), border: true, stripe: true, headerCellStyle: (__VLS_ctx.tableHeaderStyle) }, { class: "brand-table" })], __VLS_functionalComponentArgsRest(__VLS_157), false));
var __VLS_160 = __VLS_159.slots.default;
// @ts-ignore
[brandTableData, tableHeaderStyle,];
var __VLS_161 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_162 = __VLS_asFunctionalComponent(__VLS_161, new __VLS_161({
    label: "序号",
    type: "index",
    align: "center",
    width: "80",
}));
var __VLS_163 = __VLS_162.apply(void 0, __spreadArray([{
        label: "序号",
        type: "index",
        align: "center",
        width: "80",
    }], __VLS_functionalComponentArgsRest(__VLS_162), false));
var __VLS_166 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_167 = __VLS_asFunctionalComponent(__VLS_166, new __VLS_166({
    label: "品牌LOGO",
    align: "center",
    width: "100",
}));
var __VLS_168 = __VLS_167.apply(void 0, __spreadArray([{
        label: "品牌LOGO",
        align: "center",
        width: "100",
    }], __VLS_functionalComponentArgsRest(__VLS_167), false));
var __VLS_170 = __VLS_169.slots.default;
{
    var __VLS_171 = __VLS_169.slots.default;
    var scope = __VLS_getSlotParameters(__VLS_171)[0];
    if (scope.row.logo) {
        __VLS_asFunctionalElement(__VLS_elements.img)(__assign({ src: (scope.row.logo), alt: "logo" }, { class: "table-logo" }));
    }
    else {
        __VLS_asFunctionalElement(__VLS_elements.span, __VLS_elements.span)({});
    }
}
var __VLS_169;
var __VLS_172 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_173 = __VLS_asFunctionalComponent(__VLS_172, new __VLS_172({
    label: "品牌名称",
    prop: "name",
    align: "center",
}));
var __VLS_174 = __VLS_173.apply(void 0, __spreadArray([{
        label: "品牌名称",
        prop: "name",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_173), false));
var __VLS_177 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_178 = __VLS_asFunctionalComponent(__VLS_177, new __VLS_177({
    label: "单品折扣",
    align: "center",
}));
var __VLS_179 = __VLS_178.apply(void 0, __spreadArray([{
        label: "单品折扣",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_178), false));
var __VLS_181 = __VLS_180.slots.default;
{
    var __VLS_182 = __VLS_180.slots.default;
    var scope = __VLS_getSlotParameters(__VLS_182)[0];
    (__VLS_ctx.formatDiscount(scope.row.singleDiscount));
    // @ts-ignore
    [formatDiscount,];
}
var __VLS_180;
var __VLS_183 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_184 = __VLS_asFunctionalComponent(__VLS_183, new __VLS_183({
    label: "套盒折扣",
    align: "center",
}));
var __VLS_185 = __VLS_184.apply(void 0, __spreadArray([{
        label: "套盒折扣",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_184), false));
var __VLS_187 = __VLS_186.slots.default;
{
    var __VLS_188 = __VLS_186.slots.default;
    var scope = __VLS_getSlotParameters(__VLS_188)[0];
    (__VLS_ctx.formatDiscount(scope.row.setDiscount));
    // @ts-ignore
    [formatDiscount,];
}
var __VLS_186;
var __VLS_189 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_190 = __VLS_asFunctionalComponent(__VLS_189, new __VLS_189({
    label: "其他折扣",
    align: "center",
}));
var __VLS_191 = __VLS_190.apply(void 0, __spreadArray([{
        label: "其他折扣",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_190), false));
var __VLS_193 = __VLS_192.slots.default;
{
    var __VLS_194 = __VLS_192.slots.default;
    var scope = __VLS_getSlotParameters(__VLS_194)[0];
    (__VLS_ctx.formatDiscount(scope.row.otherDiscount));
    // @ts-ignore
    [formatDiscount,];
}
var __VLS_192;
var __VLS_195 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_196 = __VLS_asFunctionalComponent(__VLS_195, new __VLS_195({
    label: "操作",
    align: "center",
    width: "200",
}));
var __VLS_197 = __VLS_196.apply(void 0, __spreadArray([{
        label: "操作",
        align: "center",
        width: "200",
    }], __VLS_functionalComponentArgsRest(__VLS_196), false));
var __VLS_199 = __VLS_198.slots.default;
{
    var __VLS_200 = __VLS_198.slots.default;
    var scope_1 = __VLS_getSlotParameters(__VLS_200)[0];
    var __VLS_201 = {}.ElButton;
    /** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
    // @ts-ignore
    ElButton;
    // @ts-ignore
    var __VLS_202 = __VLS_asFunctionalComponent(__VLS_201, new __VLS_201(__assign({ 'onClick': {} }, { type: "primary", icon: "Edit" })));
    var __VLS_203 = __VLS_202.apply(void 0, __spreadArray([__assign({ 'onClick': {} }, { type: "primary", icon: "Edit" })], __VLS_functionalComponentArgsRest(__VLS_202), false));
    var __VLS_205 = void 0;
    var __VLS_206 = void 0;
    var __VLS_207 = ({ click: {} },
        { onClick: function () {
                var _a = [];
                for (var _i = 0; _i < arguments.length; _i++) {
                    _a[_i] = arguments[_i];
                }
                var $event = _a[0];
                __VLS_ctx.editBrand(scope_1.row);
                // @ts-ignore
                [editBrand,];
            } });
    var __VLS_208 = __VLS_204.slots.default;
    var __VLS_204;
    var __VLS_209 = {}.ElButton;
    /** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
    // @ts-ignore
    ElButton;
    // @ts-ignore
    var __VLS_210 = __VLS_asFunctionalComponent(__VLS_209, new __VLS_209(__assign({ 'onClick': {} }, { type: "danger", icon: "Delete" })));
    var __VLS_211 = __VLS_210.apply(void 0, __spreadArray([__assign({ 'onClick': {} }, { type: "danger", icon: "Delete" })], __VLS_functionalComponentArgsRest(__VLS_210), false));
    var __VLS_213 = void 0;
    var __VLS_214 = void 0;
    var __VLS_215 = ({ click: {} },
        { onClick: function () {
                var _a = [];
                for (var _i = 0; _i < arguments.length; _i++) {
                    _a[_i] = arguments[_i];
                }
                var $event = _a[0];
                __VLS_ctx.deleteBrand(scope_1.row.id);
                // @ts-ignore
                [deleteBrand,];
            } });
    var __VLS_216 = __VLS_212.slots.default;
    var __VLS_212;
}
var __VLS_198;
var __VLS_159;
var __VLS_154;
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "action-buttons" }));
var __VLS_217 = {}.ElButton;
/** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
// @ts-ignore
ElButton;
// @ts-ignore
var __VLS_218 = __VLS_asFunctionalComponent(__VLS_217, new __VLS_217(__assign(__assign({ 'onClick': {} }, { type: "primary" }), { class: "main-btn" })));
var __VLS_219 = __VLS_218.apply(void 0, __spreadArray([__assign(__assign({ 'onClick': {} }, { type: "primary" }), { class: "main-btn" })], __VLS_functionalComponentArgsRest(__VLS_218), false));
var __VLS_221;
var __VLS_222;
var __VLS_223 = ({ click: {} },
    { onClick: (__VLS_ctx.saveBrandInfo) });
var __VLS_224 = __VLS_220.slots.default;
// @ts-ignore
[saveBrandInfo,];
var __VLS_220;
var __VLS_225 = {}.ElButton;
/** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
// @ts-ignore
ElButton;
// @ts-ignore
var __VLS_226 = __VLS_asFunctionalComponent(__VLS_225, new __VLS_225(__assign(__assign({ 'onClick': {} }, { type: "success" }), { class: "main-btn" })));
var __VLS_227 = __VLS_226.apply(void 0, __spreadArray([__assign(__assign({ 'onClick': {} }, { type: "success" }), { class: "main-btn" })], __VLS_functionalComponentArgsRest(__VLS_226), false));
var __VLS_229;
var __VLS_230;
var __VLS_231 = ({ click: {} },
    { onClick: (__VLS_ctx.handleContinue) });
var __VLS_232 = __VLS_228.slots.default;
// @ts-ignore
[handleContinue,];
var __VLS_228;
var __VLS_233 = {}.ElDialog;
/** @type {[typeof __VLS_components.ElDialog, typeof __VLS_components.elDialog, typeof __VLS_components.ElDialog, typeof __VLS_components.elDialog, ]} */ ;
// @ts-ignore
ElDialog;
// @ts-ignore
var __VLS_234 = __VLS_asFunctionalComponent(__VLS_233, new __VLS_233({
    title: "添加自定义类别",
    modelValue: (__VLS_ctx.showAddCategoryDialog),
    width: "300px",
}));
var __VLS_235 = __VLS_234.apply(void 0, __spreadArray([{
        title: "添加自定义类别",
        modelValue: (__VLS_ctx.showAddCategoryDialog),
        width: "300px",
    }], __VLS_functionalComponentArgsRest(__VLS_234), false));
var __VLS_237 = __VLS_236.slots.default;
// @ts-ignore
[showAddCategoryDialog,];
var __VLS_238 = {}.ElInput;
/** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
// @ts-ignore
ElInput;
// @ts-ignore
var __VLS_239 = __VLS_asFunctionalComponent(__VLS_238, new __VLS_238(__assign({ modelValue: (__VLS_ctx.newCategoryName), placeholder: "请输入类别名称" }, { class: "category-input" })));
var __VLS_240 = __VLS_239.apply(void 0, __spreadArray([__assign({ modelValue: (__VLS_ctx.newCategoryName), placeholder: "请输入类别名称" }, { class: "category-input" })], __VLS_functionalComponentArgsRest(__VLS_239), false));
// @ts-ignore
[newCategoryName,];
{
    var __VLS_243 = __VLS_236.slots.footer;
    var __VLS_244 = {}.ElButton;
    /** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
    // @ts-ignore
    ElButton;
    // @ts-ignore
    var __VLS_245 = __VLS_asFunctionalComponent(__VLS_244, new __VLS_244(__assign({ 'onClick': {} })));
    var __VLS_246 = __VLS_245.apply(void 0, __spreadArray([__assign({ 'onClick': {} })], __VLS_functionalComponentArgsRest(__VLS_245), false));
    var __VLS_248 = void 0;
    var __VLS_249 = void 0;
    var __VLS_250 = ({ click: {} },
        { onClick: function () {
                var _a = [];
                for (var _i = 0; _i < arguments.length; _i++) {
                    _a[_i] = arguments[_i];
                }
                var $event = _a[0];
                __VLS_ctx.showAddCategoryDialog = false;
                // @ts-ignore
                [showAddCategoryDialog,];
            } });
    var __VLS_251 = __VLS_247.slots.default;
    var __VLS_247;
    var __VLS_252 = {}.ElButton;
    /** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
    // @ts-ignore
    ElButton;
    // @ts-ignore
    var __VLS_253 = __VLS_asFunctionalComponent(__VLS_252, new __VLS_252(__assign({ 'onClick': {} }, { type: "primary" })));
    var __VLS_254 = __VLS_253.apply(void 0, __spreadArray([__assign({ 'onClick': {} }, { type: "primary" })], __VLS_functionalComponentArgsRest(__VLS_253), false));
    var __VLS_256 = void 0;
    var __VLS_257 = void 0;
    var __VLS_258 = ({ click: {} },
        { onClick: (__VLS_ctx.addCustomCategory) });
    var __VLS_259 = __VLS_255.slots.default;
    // @ts-ignore
    [addCustomCategory,];
    var __VLS_255;
}
var __VLS_236;
/** @type {__VLS_StyleScopedClasses['brand-management-page']} */ ;
/** @type {__VLS_StyleScopedClasses['page-header']} */ ;
/** @type {__VLS_StyleScopedClasses['page-title']} */ ;
/** @type {__VLS_StyleScopedClasses['bind-btn']} */ ;
/** @type {__VLS_StyleScopedClasses['basic-info-card']} */ ;
/** @type {__VLS_StyleScopedClasses['form-grid']} */ ;
/** @type {__VLS_StyleScopedClasses['form-group']} */ ;
/** @type {__VLS_StyleScopedClasses['form-label']} */ ;
/** @type {__VLS_StyleScopedClasses['required']} */ ;
/** @type {__VLS_StyleScopedClasses['form-control']} */ ;
/** @type {__VLS_StyleScopedClasses['form-group']} */ ;
/** @type {__VLS_StyleScopedClasses['form-label']} */ ;
/** @type {__VLS_StyleScopedClasses['required']} */ ;
/** @type {__VLS_StyleScopedClasses['upload-container']} */ ;
/** @type {__VLS_StyleScopedClasses['logo-upload']} */ ;
/** @type {__VLS_StyleScopedClasses['upload-status']} */ ;
/** @type {__VLS_StyleScopedClasses['clear-upload']} */ ;
/** @type {__VLS_StyleScopedClasses['form-group']} */ ;
/** @type {__VLS_StyleScopedClasses['form-label']} */ ;
/** @type {__VLS_StyleScopedClasses['form-control']} */ ;
/** @type {__VLS_StyleScopedClasses['form-group']} */ ;
/** @type {__VLS_StyleScopedClasses['form-label']} */ ;
/** @type {__VLS_StyleScopedClasses['required']} */ ;
/** @type {__VLS_StyleScopedClasses['status-radio']} */ ;
/** @type {__VLS_StyleScopedClasses['category-sku-card']} */ ;
/** @type {__VLS_StyleScopedClasses['category-header']} */ ;
/** @type {__VLS_StyleScopedClasses['section-title']} */ ;
/** @type {__VLS_StyleScopedClasses['category-tabs-container']} */ ;
/** @type {__VLS_StyleScopedClasses['category-tabs']} */ ;
/** @type {__VLS_StyleScopedClasses['custom-category']} */ ;
/** @type {__VLS_StyleScopedClasses['delete-category']} */ ;
/** @type {__VLS_StyleScopedClasses['add-category-btn']} */ ;
/** @type {__VLS_StyleScopedClasses['sku-section']} */ ;
/** @type {__VLS_StyleScopedClasses['sku-header']} */ ;
/** @type {__VLS_StyleScopedClasses['sku-title']} */ ;
/** @type {__VLS_StyleScopedClasses['add-sku-btn']} */ ;
/** @type {__VLS_StyleScopedClasses['sku-list']} */ ;
/** @type {__VLS_StyleScopedClasses['sku-item']} */ ;
/** @type {__VLS_StyleScopedClasses['sku-fields']} */ ;
/** @type {__VLS_StyleScopedClasses['sku-input']} */ ;
/** @type {__VLS_StyleScopedClasses['name-input']} */ ;
/** @type {__VLS_StyleScopedClasses['sku-input']} */ ;
/** @type {__VLS_StyleScopedClasses['discount-input']} */ ;
/** @type {__VLS_StyleScopedClasses['sku-input']} */ ;
/** @type {__VLS_StyleScopedClasses['stock-input']} */ ;
/** @type {__VLS_StyleScopedClasses['delete-sku-btn']} */ ;
/** @type {__VLS_StyleScopedClasses['sku-empty']} */ ;
/** @type {__VLS_StyleScopedClasses['brand-table-card']} */ ;
/** @type {__VLS_StyleScopedClasses['section-title']} */ ;
/** @type {__VLS_StyleScopedClasses['brand-table']} */ ;
/** @type {__VLS_StyleScopedClasses['table-logo']} */ ;
/** @type {__VLS_StyleScopedClasses['action-buttons']} */ ;
/** @type {__VLS_StyleScopedClasses['main-btn']} */ ;
/** @type {__VLS_StyleScopedClasses['main-btn']} */ ;
/** @type {__VLS_StyleScopedClasses['category-input']} */ ;
var __VLS_export = (await Promise.resolve().then(function () { return require('vue'); })).defineComponent({
    emits: {},
});
exports.default = {};
